
<%@ page language="java" import="java.util.*" %>
<jsp:directive.page import="com.database.DataBase"/>
<jsp:directive.page import="com.sql.ReportFormSql"/>

<html>
  <head>
    <title>My JSP 'VipCardDelete.jsp' starting page</title>
  </head>
  <body>
    <%
        int oid=Integer.parseInt(request.getParameter("ID"));
        DataBase base=new DataBase();
        ReportFormSql report=new ReportFormSql();
        String sql=report.delete("CQMS_Vipcard",oid);
        base.executeUpdate(sql);
        base.closeStmt();
        base.closeConn();
        response.sendRedirect("Vipcard.jsp");
    %>
  </body>
</html>
